package org.nuonuo.sdk.model.req;

import org.nuonuo.sdk.valid.Validator;

import javax.validation.constraints.NotNull;

/**
 * @Version 1.0
 * @Author az
 * @Date 2024-04-08 14:37:44
 * @ClassName BlankInvoiceInvalidateReq
 * @Description 空白发票作废
 */
public class BlankInvoiceInvalidateReq extends Validator {
    /**
     * 税号，会校验和请求头中的税号一致
     */
    @NotNull(message = "税号，会校验和请求头中的税号一致必填")
    private String taxNo;
    /**
     * 票种，仅支持c、s、j、r、u
     */
    @NotNull(message = "票种，仅支持c、s、j、r、u必填")
    private String invoiceLine;
    /**
     * 分机号
     */
    private String extensionNum;
    /**
     * 机器编号
     */
    private String machineCode;
    /**
     * 终端号
     */
    private String terminalNumber;
    /**
     * 作废发票代码，开票服务器为a9时可不填，其余必填
     */
    private String invoiceCode;
    /**
     * 作废发票号码，开票服务器为a9时可不填，其余必填
     */
    private String invoiceNum;
    /**
     * 作废份数，目前仅支持作废1张，默认为1
     */
    private String invalidNum;
    /**
     * 开票员ID
     */
    private String clerkid;
    /**
     * 部门ID
     */
    private String deptid;

    public String getTaxNo() {
        return taxNo;
    }

    public void setTaxNo(String taxNo) {
        this.taxNo = taxNo;
    }

    public String getInvoiceLine() {
        return invoiceLine;
    }

    public void setInvoiceLine(String invoiceLine) {
        this.invoiceLine = invoiceLine;
    }

    public String getExtensionNum() {
        return extensionNum;
    }

    public void setExtensionNum(String extensionNum) {
        this.extensionNum = extensionNum;
    }

    public String getMachineCode() {
        return machineCode;
    }

    public void setMachineCode(String machineCode) {
        this.machineCode = machineCode;
    }

    public String getTerminalNumber() {
        return terminalNumber;
    }

    public void setTerminalNumber(String terminalNumber) {
        this.terminalNumber = terminalNumber;
    }

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public void setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
    }

    public String getInvoiceNum() {
        return invoiceNum;
    }

    public void setInvoiceNum(String invoiceNum) {
        this.invoiceNum = invoiceNum;
    }

    public String getInvalidNum() {
        return invalidNum;
    }

    public void setInvalidNum(String invalidNum) {
        this.invalidNum = invalidNum;
    }

    public String getClerkid() {
        return clerkid;
    }

    public void setClerkid(String clerkid) {
        this.clerkid = clerkid;
    }

    public String getDeptid() {
        return deptid;
    }

    public void setDeptid(String deptid) {
        this.deptid = deptid;
    }
}
